<?$fecha = date("d")."-".date("m")."-".date("Y");

$idnota = $_GET['id'];
$tipo = $_GET['tipo'];

include ("../conectarse.php");

$cambia = "UPDATE `mutuar`.`notas` SET `not_activo` = '2' WHERE `notas`.`not_id` =$idnota;
";
$cambiar = mysql_query($cambia);

$consultatickets = "select * from notas where not_id like '$idnota'";
$resultadotickets = mysql_query($consultatickets);
$cantidadtickets = mysql_num_rows($resultadotickets);
$filatickets = mysql_fetch_array($resultadotickets);?>
<body bgcolor = "#005F8C" alink = "white" vlink = "white" link = "white" text = "white">
<table width  ="100%" height = "100%" cellpadding = "0" cellspacing = "0">

<tr valign = "top">

<td align = "center">

<!--BARRA                    -->

<?include ("./barra/barramutual.php");?>

<!-- FIN DE LA BARRA                    -->
</td>


</tr>


<tr valign = "top" height = "100%"><td align = "left">

<!-- CUERPO DEL SISTEMA -->
<table cellpadding = "0" cellspacing = "0" border  ="0" height = "100%">
<tr valign = "middle"><td bgcolor = "black">


<?include ("links.php");?>



<!-- FIN DEL CUERPO DEL SISTEMA -->







</td><td width = "100%" align = "center">
<table height = "100%"><TR valign="top"><TD>
<fieldset style="width:220px;"><legend>NOTA</legend>
                                      
<TABLE><TR><TD>Usuario:</TD><TD><?echo $filatickets['not_us_id'];?></TD></TR>
<TR><TD>Fecha:</TD><TD><?echo substr($filatickets['not_fecha'],6,2)."-".substr($filatickets['not_fecha'],4,2)."-".substr($filatickets['not_fecha'],0,4);?></TD></TR>
<TR><TD colspan = "2" align = "center"><hr>Mensaje<br><br><hr><textarea cols = "40" rows = "10"><?echo $filatickets['not_texto'];?></textarea><hr>
<form action = "listadotickets.php?tipo=<?echo $tipo;?>" method = "POST"><input type = "submit" value = "Volver"></form></TD></TR></TABLE>



</fieldset>

</td></tr></table>

</TD></TR></table>



























</td>
</td></tr>

</table>
